#pragma once

typedef enum
{
    HOME_APP,
    LIST_APP,
    LIGHT_APP,
    CLOCK_APP,
} app_t;

#define LCD_PIXEL_CLOCK_HZ (80 * 1000 * 1000)

#define PIN_NUM_SCLK 12
#define PIN_NUM_MOSI 11

#define PIN_NUM_CS 10
#define PIN_NUM_DC 14
#define PIN_NUM_RST 13
#define PIN_NUM_BK_LIGHT 6

// The pixel number in horizontal and vertical
#define LCD_H_RES 320
#define LCD_V_RES 240

// #define PIN_NUM_SCLK 12
// #define PIN_NUM_MOSI 11

// #define PIN_NUM_CS 10
// #define PIN_NUM_DC 13
// #define PIN_NUM_RST 8
// #define PIN_NUM_BK_LIGHT 14

// // The pixel number in horizontal and vertical
// #define LCD_H_RES 280
// #define LCD_V_RES 240

#define LVGL_TICK_PERIOD_MS 2

void guiTask(void *pvParameter);